package jgl.vajra.operator.part.order.activity;

import jgl.vajra.operator.R;
import jgl.vajra.operator.databinding.ActivityCommentStateBinding;
import jgl.vajra.operator.part.home.activity.HomeActivity;
import jgl.vajra.operator.part.order.contract.CommentStateContract;
import jgl.vajra.operator.part.order.viewModel.CommentStateViewModel;
import jgl.vajra.operator.widget.mvvm.factory.CreateViewModel;
import jgl.vajra.operator.widget.mvvm.view.AppActivityManager;
import jgl.vajra.operator.widget.mvvm.view.BaseMVVMActivity;

@CreateViewModel(CommentStateViewModel.class)
public class CommentStateActivity extends BaseMVVMActivity<CommentStateViewModel, ActivityCommentStateBinding> implements CommentStateContract.View {
    @Override
    public int getLayoutId() {
        return R.layout.activity_comment_state;
    }

    @Override
    public void initView() {
        super.initView();
        mBinding.setView(this);
    }

    //返回首页
    @Override
    public void onDetermine() {
        AppActivityManager.getAppActivityManager().returnToActivity(HomeActivity.class);
    }
}
